<!DOCTYPE >
<html>
<head>
	<title>声明式渲染</title>
</head>
<style>
</style>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<body>
	<div id="app">
		{{message}}
		<br>
		<span v-bind:title="title">
			Hover your mouse over me for a few seconds to see my dynamically bound title!
		</span>
	</div>

	<script>
	var str=[];
	str[0]='hello word';
	str[1]='You loaded this page on';
	var app = new Vue({
		el: '#app',
		data: {
			message:str[0],
			title:'pageon' + new Date(),
		}
	})
	</script>
</body>
